<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/griduihead1.jsp"%>
<%
	//page1.setFastMode(true);
	page1.getPageTitle().setEnab(false);
	page1.setSupportTree(true);
%>
<%@include file="/include/common/griduihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("fsPro系統首面left");
	page1.setMinWidth(100);
	page1.setFilterEnab(false);
%>
<jm:form>
	<jm:tree id="tree1" treeData="<%=ret.getSerchResult()%>" config="{callback:{onClick: openeditpage}}" />
</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	var targetWin = null ;
	
	function openeditpage(event, treeId, treeNode){
		if(targetWin == null){
			targetWin = parent.$('#mainFrame')[0].contentWindow;
		}
		
		var src = "";
		src = treeNode['src'];
		if($P.isne(src))return;
		
		if(src.indexOf($P.cp) != 0){
			src = $P.cp+"/"+src;
		}
		
		if(src.indexOf("?") != 0){
			src = src+"?";
		}
		
		src = src+"&panmenusn="+treeNode['sn'];
		targetWin.location.href=src;
	}
</script></jm:script>
<%@include file="/include/common/griduiend.jsp"%>
